import {
  HomeOutlined,
  UnorderedListOutlined,
  UserOutlined,
  SolutionOutlined,
  LineChartOutlined,
  AreaChartOutlined,
  BarChartOutlined,
  PieChartOutlined,
} from "@ant-design/icons";

export const MenuList = [
  {
    title: "首页",
    key: "/home",
    icon: <HomeOutlined />,
  },
  {
    title: "列表",
    key: "/list",
    icon: <UnorderedListOutlined />,
    children: [
      {
        title: "用户列表",
        key: "/list/user",
        icon: <UserOutlined />,
      },
      {
        title: "商品列表",
        key: "/list/products",
        icon: <SolutionOutlined />,
      },
    ],
  },
  {
    title: "图表",
    key: "/eachers",
    icon: <AreaChartOutlined />,
    children: [
      {
        title: "线状图",
        key: "/eachers/line",
        icon: <LineChartOutlined />,
      },
      {
        title: "柱状图",
        key: "/eachers/bar",
        icon: <BarChartOutlined />,
      },
      {
        title: "饼状图",
        key: "/eachers/pie",
        icon: <PieChartOutlined />,
      },
    ],
  },
];
